local skel = fk.CreateSkill {
  name = "emo__aidezy",
  tags = {Skill.Wake},
}

Fk:loadTranslationTable{
  ["emo__aidezy"] = "爱的治愈",
  [":emo__aidezy"] = "觉醒技，你回复体力至上限后，删除“落霞烙印”的最后一句并加3点体力上限，然后重置此技能。",
}

skel:addEffect(fk.HpRecover, {
  can_trigger = function (self, event, target, player, data)
    return target == player and player:hasSkill(skel.name)
  end,
  can_wake = function (self, event, target, player, data)
    return not player:isWounded()
  end,
  on_cost = Util.TrueFunc,
  on_use = function (self, event, target, player, data)
    player.room:addPlayerMark(player, "emo__aidezy_count")
    player.room:changeMaxHp(player, 3)
    player:setSkillUseHistory(skel.name, 0, Player.HistoryGame)
  end,
})

return skel
